package net.crowdloud.client.user;

import java.util.List;

import net.crowdloud.shared.entities.User;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface UserDatabaseServerCallsAsync {

	void getUser(Long userID, AsyncCallback<User> callback);

	void listUsers(AsyncCallback<List<User>> callback);

	void saveUser(User user, String tags, AsyncCallback<Void> callback);

	void updateUser(User user, String tags, AsyncCallback<Void> callback);
}
